package com.zhanglu.fun.services.chatroom.client;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author zhanglu
 * @description
 * @date 2017/10/30 19:41
 */
@FeignClient(value = "no",url = "http://i.itpk.cn")
public interface RobotClient {
    @GetMapping("/api.php")
    String getRobotAnswer(@RequestParam("question") String question);
}
